<div class="view-js" id="view-js"></div>

<script>
  document.getElementById('view-js').innerHTML = 'view-js'
</script>

<style>
  .view-js {
    margin: 20px;
    padding: 20px;
    text-align: right;
    font-size: 20px;
    color: #333;
    background-color: palegreen;
  }
</style>
